import { axios } from '@/utils/request'

export function fastAdd(params) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/fastAdd',
        method: 'post',
        params
    })
}

export function pageInvoice(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/pageInvoice',
        method: 'post',
        data,
    })
}
export function saveApply(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/saveApply',
        method: 'post',
        data,
    })
}
export function pageApply(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/pageApply',
        method: 'post',
        data,
    })
}
export function revokeApply(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/revokeApply?id='+data.id,
        method: 'post',
    })
}
export function getApplyDetail(data) {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/getApplyDetail?applyId='+data.applyId,
        method: 'post',
    })
}
export function checkInfoAndRisk() {
    return axios({
        url: '/vatoutinv/vmsHzqrdApply/checkInfoAndRisk',
        method: 'post',
    })
}
